﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MT_Auction
{
    public partial class DangNhap : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
        {
            if (txtTenDangNhap.Text == "admin" && txtMatKhau.Text == "123")
            {
                Response.Redirect("/Manager/TrangChuAdmin.aspx");
            }
            else if (txtTenDangNhap.Text == "kimminh" && txtMatKhau.Text == "123")
            {
                Response.Redirect("TrangChu.aspx?user=1");
            }
        }
    }
}